package com.xiaobai.dao;

import com.xiaobai.pojo.StudentUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Mapper
@Component
public interface StudentUserDao {

    int deleteByPrimaryKey(Integer id);

    int insert(StudentUser record);

    int insertSelective(StudentUser record);

    StudentUser selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(StudentUser record);

    int updateByPrimaryKey(StudentUser record);

    String selectStudentPassword(String student_id);

    int updateStudentPassword(@Param("student_id") String student_id,@Param("password") String password);
}